<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>拍拍订单页</title>
		<!--载入首页的css-->
		<script src="http://127.0.0.1/paipai/project/hdphp/Static/Index/js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="http://127.0.0.1/paipai/project/hdphp/Static/Index/css/order.css"/>
	</head>
	<body>
		<!--顶部头部开始-->
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<div id="header_top">
			<!--顶部中间框开始-->
			<div class="header_centre">
				<!--头部左侧开始-->
				<div class="header_lift">
					<a href="http://www.jd.com" target="_blank">京东</a><a href="javascript:;">|</a><a href="" target="_blank">易迅</a>
				</div>
				<!--头部左侧结束-->
				<!--头部右侧开始-->
				<div class="header_right">
				    <?php if($_SESSION[uid]){ ?>	
					<a href="<?php echo U('Myadd/index');?>"><?php echo $_SESSION['username'];?></a>
					<a href="javascript:;">|</a>
					<a href="<?php echo U('Member/out');?>">退出</a></a>
					<a href="javascript:;">|</a>
				<?php }else{ ?>	
					<a href="<?php echo U('Member/login');?>">登陆</a>
					<a href="javascript:;">|</a>
					<a href="<?php echo U('Member/register');?>">注册</a>
					<a href="javascript:;">|</a>
				<?php } ?>
					<a href="<?php echo U('Cart/index',array('gid'=>$_GET['gid']));?>">购物车</a>
				</div>
				<!--头部右侧结束-->
			</div>
			<!--顶部中间框结束-->
		</div>
		<!--顶部头部结束-->
		<!--顶部LOGO区域开始-->
		<div id="header_logo1">
			<!--LOGO左侧开始-->
			<div class="logo_left1">
				<a class="logo_img" href="<?php echo U('Index/index');?>" ><img src="http://127.0.0.1/paipai/project/hdphp/Static/Index/images/logo.png"/></a>
			</div>
			<!--LOGO左侧结束-->
			<!--LOGO右侧搜索框开始-->
			<div class="logo_right1">
				<!--搜索框开始-->
				<div class="right1_fro">
					<!--搜索框上侧-->
					<div class="fro_top">
						<form action="" method="post">
							<input class="fro_keyword" type="text" name="" id="" value="" placeholder="请输入您的关键字"/>
							<button class="fro_btn" type="submit" >搜索</button>
						</form>
					</div>
					<!--搜索框下侧-->
					<div class="fro_bottom">
						<a href="" target="_blank">大嘴猴</a>
						<a href="" target="_blank">大牌香水</a>
						<a href="" target="_blank">“机”情四射</a>
						<a href="" target="_blank">水果9.9</a>
						<a href="" target="_blank">进口尖货</a>
						<a href="" target="_blank">小样世界</a>
					</div>
				</div>
				<!--搜索框结束-->
			</div>
			<!--LOGO右侧搜索框结束-->
		</div>
		<!--顶部LOGO区域结束-->
		<!--顶部头部结束-->
		<!--主体开始-->
		<div id="div_content">
			<div class="shop_cart">
				<!--背景图-->
				<div class="shop_cart_hd steps3_1"></div>
				<div class="title_step">
					<h2>添加或修改收货地址</h2>
				</div>
				<!--判断如果没有地址显示这个-->
				<p class="from_box"><a href="<?php echo U('Myadd/location');?>">请您到【个人中心】添加或修改【地址】</a></p>
				<!--如果有地址显示下面-->
				<!--<div class="step_cont address_div">
					<ul class="list_address">
						<li>
							<label border="" cellspacing="" cellpadding="">
								<input type="radio" class="rid" name="" id="" />
								内蒙古包头市许婧妮收 18046567484
							</label>
							<p class="edit_address">
								<a href="">[修改]</a>
								<a href="javascript:;">[删除]</a>
							</p>
						</li>
					</ul>
				</div>-->
				<!--商品展示-->
				<div class="shop_cart_bd">
					<div class="list_box">
						<h2 class="tit">确认商品信息</h2>
						<form action="<?php echo U('Order/addOrder');?>" method="post">
						<div class="order_list">
							<?php foreach ($cartData['goods'] as $k=>$v){?>
								<table border="" cellspacing="" cellpadding="">
										<tr id="shopcarTr" tag="shopcarCommTr">
											
											<!--图片-->
											<td class="good_pic">
												<a href=""><img src="<?php echo $v['options']['thumb'];?>"/></a>
											</td>
											<!--内容-->
											<td class="good_tit">
												<h3><a href=""><?php echo $v['name'];?></a></h3>
											</td>
											<!--尺码-->
											<td class="good_prop">
												<input type="hidden" name="combine[]" id="combine" value="<?php echo $v['options']['combine'];?>" />
												<!--循环ul开始-->
												<?php foreach ($v['options']['spec'] as $key=>$value){?>
													<ul>
														<li>
															
															<span class="name size"><?php echo $value['taname'];?>：</span>
															<span class="value"><?php echo $value['gtvalue'];?></span>
														</li>
													</ul>
												<?php }?>	
												<!--循环ul结束-->
												<!--<ul>
													<li>
														<span class="name size">鞋码：</span>
														<span class="value">36</span>
													</li>
												</ul>-->
												<!--数量-->
												<ul>
													<li>
														<span class="name size">数量：</span>
														<input type="hidden" name="quantity[]" id="" value="<?php echo $v['num'];?>" />
														<span class="value"><?php echo $v['num'];?></span>
													</li>
												</ul>
											</td>
											<!--价钱-->
											<td class="good_price">
												<div class="price_now">
													¥
													<input type="hidden" name="subtotal[]" id="" value="<?php echo $v['price'];?>" />
													<span><?php echo $v['price'];?></span>
												</div>
											</td>
										</tr>
										
										<!--<tr class="tr_bot">
											
											<td colspan="5" style="margin-left: 300px;">
												<span class="sum_txt">商品总计（不含运费）</span>
												<span class="sum_num"> 
													¥
												<span class="num"><?php echo $v['price'];?></span>
												</span>
											</td>
											
										</tr>-->
									</table>
								<?php }?>	
							<!--循环内容-->
							
						</div>
						
					</div>
					
				</div>
				<!--商品展示结束-->
				<!--确认地址开始-->
				<div class="bt_opt">
					<div class="sum_panel">
						
							<div class="inner">
								<div class="pay_num_wrap">
									<span>应付金额</span>
									<span class="pay_num">
										<span>¥</span>
										<input type="hidden" name="total" id="total" value="<?php echo $cartData['total'];?>" />
										<span class="numend"><?php echo $cartData['total'];?></span>
									</span>
								</div>
								<!--送货地址-->
								<div class="contact_info">
									<p class="send_to_addr">
										<span class="prefix">送货至:</span>
										<input type="hidden" name="address" id="" value="<?php echo $ressData['aress'];?>" />
										<span class="addr"><?php echo $ressData['aress'];?></span>
									</p>
									<p id="send_to_person">
										<span class="prefix">收货人</span>
										<input type="hidden" name="consignee" id="" value="<?php echo $ressData['aname'];?>" />
										<span id="receiver"><?php echo $ressData['aname'];?></span>
										<input type="hidden" name="mobile" id="" value="<?php echo $ressData['phone'];?>" />
										<span id="mphone"><?php echo $ressData['phone'];?></span>
									</p>
									<p>您的购买记录不会被他人查看！</p>
								</div>
							</div>
						
					</div>
				</div>
					<a class="submit_order" href="javascript:;">
						<input type="submit" id="" value="" style="width: 107px;height: 40px; opacity: 0;" />
					</a>
					<!--确认地址结束-->
				</form>
			</div>
			
			
		</div>
		<!--主体结束-->
		<!--底部开始-->
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<div id="bottom_m">
	<div class="bottom_z">
		<div class="bottom_l">
		<a href="<?php echo U('Index/index');?>"></a>
		<p>精品专区网站地图用户协议隐私声明</p>
		<p>Copyright © 1998-2015拍拍公司 paipai.com  </p>
		<p>版权所有 粤ICP备13011462号-2</p>
		<p>广东省通管局 增值电信业务经营许可证B2-20130209</p>
		</div>

		<div class="bottom_r">
			<dl>
				<dt>公司</dt>
				<dd><a href="">关于我们</a></dd>
				<dd><a href="">招聘信息</a></dd>
				<dd><a href="">联系我们</a></dd>
			</dl>
			<dl>
				<dt>消费者</dt>
				<dd><a href="">帮助中心</a></dd>
				<dd><a href="">意见反馈</a></dd>
				<dd><a href="">手机版下载</a></dd>
			</dl>
			<dl>
				<dt>商家</dt>
				<dd><a href="">商家培训</a></dd>
				<dd><a href="">商家招募</a></dd>
				<dd><a href="">免费开店</a></dd>
			</dl>
			<dl style="width:280px;height:28px;">
				<dt style="width:100px">权威认证</dt>
				<dd>
				<a class="pa" href=""></a>
				<a class="pc" href=""></a>
				<a class="kx" href=""></a>
			</dd>
			</dl>
		</div>
	</div>
</div>

<!-- 末尾结束 -->


	<a class="boxs1" href="#header_top"></a>
		<!--底部结束-->			
		
		
<a class="boxs1" href="#header_top"></a>	
	
	
	</body>
</html>
